console.log('首页:index.js')
import axios from 'axios';
import test from './test'

import '@/css/admin';
// import "../css/style.css";
//字体图标
import "@/iconfont/iconfont";

import fj from '@/img/fj.jpg'

const createDiv = (txt) => {
    let _div = document.createElement('div');
    _div.className = 'div';
    let _text = document.createTextNode(txt);
    _div.appendChild(_text);
    _div.style.background = `url(${fj}) no-repeat`;
    document.body.appendChild(_div);
}
createDiv('创建text');